package com.dmp.printer.controller;


import com.dmp.common.entity.Result;
import com.dmp.printer.entity.Printer;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: Xiaohei
 * @CreateTime: 2021/12/27 21:50
 */
@RestController
@RequestMapping("/printer")
public class PrinterController {

    @PostMapping("/add")
    public Result addPrinter(@RequestBody Printer printer) {
        return null;
    }

    @PostMapping("/update")
    public Result updatePrinter(@RequestBody Printer printer) {
        return null;
    }

    @PostMapping("/delete")
    public Result deletePrinter(String uuid) {
        return null;
    }

    @PostMapping("/page")
    public Result queryPage(@RequestParam(value = "brand", required = false) String brand,
                            @RequestParam(value = "model", required = false) String model,
                            @RequestParam(value = "status", required = false) String status) {
        return null;
    }
}
